/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Classes;

/**
 *
 * @author guig
 */
public class Type {
    private int idT;
    private String nomT;

    public Type(int idT, String nomT) {
        this.idT = idT;
        this.nomT = nomT;
    }

    public int getIdT() {
        return idT;
    }

    public void setIdT(int idT) {
        this.idT = idT;
    }

    public String getNomT() {
        return nomT;
    }

    public void setNomT(String nomT) {
        this.nomT = nomT;
    }

    @Override
    public String toString() {
        return  nomT;
    }
    
}
